package com.dfe.backend.dto;

import cn.hutool.core.util.StrUtil;
import lombok.Data;

/**
 * 【描述】：用于获取真实路径
 *
 * @author LiChang
 * @since 2025-10-13 11:11
 */
@Data
public class RealCircuitDTO {

    private String sendIedName;

    private String receiveIedName;

    private String appId;

    public static boolean isEmpty(RealCircuitDTO realCircuitDTO) {
        if (realCircuitDTO == null) {
            return true;
        }
        return StrUtil.isEmpty(realCircuitDTO.sendIedName) || StrUtil.isEmpty(realCircuitDTO.receiveIedName) || StrUtil.isEmpty(realCircuitDTO.appId);
    }

}
